<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东工业大学高水平运动员申请表</title>
<script charset="utf-8" src="${ctx }/js/jquery.min.js"></script>
<script charset="utf-8" src="${ctx }/js/jquery.jqprint.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		/* $("#print").click(function() {
			$(".sportsTable").jqprint(); */
			alert("按确定可打印页面，如果取消打印，可以刷新页面或返回上一页面再次点击“打印”按钮即可打印此页面！");
			window.print();
			
		});
	
</script>
<style>
*{
	margin:0;
	padding:0;
}
table{
	width:100%;
	border-collapse:collapse;
	text-align:center;
}
td, th{
	border:1px solid #666;
	height:45px;
}
/* .userImage img{
	max-width:160px;
	max-height:250px;
	_width:expression((documentElement.clientWidth > 160) ? "160px" : "80px" );
	_height:expression((documentElement.clientWidth > 250) ? "250px" : "250px" );
} */
.sportsTable{
	width:900px;
}
.sportsHead{
	width:900px;
	margin:10px auto;
	text-align:right;
}
.head{
	/*background:#99ccff;*/
}
.button{
	border: 1px solid #c5dbec;
	background: #dfeffc url(images/button.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #2e6e9e;
	cursor: pointer;
	padding:10px 20px;
}
.headTitle{
	font-weight: bold;
	font-size:20px;
	width:400px;
	margin:0px auto;
}
</style>

  </head>
  
  <body>
  	<center>
	<!-- <div class="sportsHead">
		<button class="button" id="print">打印</button>
		<button class="button" id="exit" onclick="javascript:history.go(-1);">退出</button>
	</div> -->
	
		<div class="sportsTable">
		
		<div class="headTitle">广东工业大学<s:property value="endTime.substring(0,4)"/>年高水平运动员申请表</div>
			<table style="border:1px #666 solid">
				<thead class="head">
					<tr>
						<th colspan="5">考生基本信息</th>
					</tr>
				</thead>
				<tr>
					<th style="width:15%">姓名</th>
					<td style="width:25%" >${examinee.name }</td>
					<th style="width:15%">性别</th>
					<td style="width:25%" id="">${examinee.gender }</td>
					<td rowspan="6" class="userImage">
								<s:if test="examinee.photoUrl!=null"><img style='width:160px;height:250px' src="${ctx}/upload/${examinee.photoUrl}"/></s:if>
							</td>
				</tr>
				<tr>
					<th>运动等级</th>
					<td id="">${examinee.level }</td>
					<th>运动项目</th>
					<td id="">${examinee.item }</td>
				</tr>
				<tr>
					<th>身份证</th>
					<td id="">${examinee.identity }</td>
					<th>考生特征</th>
					<td id="">${examinee.feature }</td>
				</tr>
				<tr>
					<th>出生日期</th>
					<td id="">${examinee.birthday }</td>
					<th>考生号</th>
					<td id="">${examinee.ticket }</td>
				</tr>
				<tr>
					<th>政治面貌</th>
					<td id="">${examinee.politics }</td>
					<th>民族</th>
					<td id="">${examinee.nation }</td>
				</tr>
				<tr>
					<th>身高（cm）</th>
					<td id="">${height }</td>
					<th>体重（kg）</th>
					<td id="">${weight }</td>
				</tr>
				<tr>
					<th>Email</th>
					<td id="">${examinee.email }</td>
					<th>科类</th>
					<td id="" colspan="2">${examinee.type }</td>
					
				</tr>
				<tr>
					<th>文化课考试<br>（分数线）</th>
					<td id="">${examinee.mark }</td>
					<th>生源省份</th>
					<td colspan="2" id="">${examinee.province }</td>
					
					
				</tr>
				<tr>
				<th>联系电话</th>
					<td  id="">${examinee.phone }</td>
					<th>联系地址</th>
					<td colspan="4" id="">${examinee.address }</td>
				</tr>
			</table>
			<table>
				<thead class="head">
					<tr>
						<th colspan="6" class="head" >学业水平测试成绩（只有广东考生需要填写学业水平成绩）</th>
					</tr>
				</thead>
				<tr>
					<th style="width:20%">物理</th>
					<td style="width:13%" id="">${academic.physics }</td>
					<th style="width:20%">化学</th>
					<td style="width:13%" id="">${academic.chemistry }</td>
					<th style="width:20%">生物</th>
					<td style="width:14%" id="">${academic.organisms }</td>
				</tr>
				<tr>
					<th>政治</th>
					<td id="">${academic.politics }</td>
					<th>历史</th>
					<td id="">${academic.history }</td>
					<th>地理</th>
					<td id="">${academic.geography }</td>
				</tr>
			</table>
			<table>
				<thead>
					<tr>
						<th colspan="5" class="head">体育竞赛情况（主要运动经历）</th>
					</tr>
				</thead>
				<tr>
					<th style="width:25%">比赛名称</th>
					<th style="width:15%">时间</th>
					<th style="width:35%">地点</th>
					<th style="width:15%">成绩（名次）</th>
					<th style="width:10%">等级</th>
				</tr>
				<tr>
					<td id="">${experiences[0].item }</td>
					<td id="">${experiences[0].date }</td>
					<td id="">${experiences[0].address }</td>
					<td id="">${experiences[0].score }</td>
					<td id="">${experiences[0].level }</td>
				</tr>
				<tr>
					<td>${experiences[1].item }</td>
					<td>${experiences[1].date }</td>
					<td>${experiences[1].address }</td>
					<td>${experiences[1].score }</td>
					<td>${experiences[1].level }</td>
				</tr>
				<tr>
					<td>${experiences[2].item }</td>
					<td>${experiences[2].date }</td>
					<td>${experiences[2].address }</td>
					<td>${experiences[2].score }</td>
					<td>${experiences[2].level }</td>
				</tr>
			</table>
			<table>
				<thead>
					<tr>
						<th colspan="4" class="head">考生简历（从高中阶段写起）</th>
					</tr>
				</thead>
				<tr>
					<th style="width:15%">自何年何月</th>
					<th style="width:15%">至何年何月</th>
					<th style="width:50%">在何地、何单位学习或工作</th>
					<th style="width:20%">任何职位</th>
				</tr>
				<tr>
					<td id="">${resumes[0].fromWhen}</td>
					<td id="">${resumes[0].tillWhen}</td>
					<td id="">${resumes[0].content}</td>
					<td id="">${resumes[0].post}</td>
				</tr>
				<tr>
					<td id="">${resumes[1].fromWhen}</td>
					<td id="">${resumes[1].tillWhen}</td>
					<td id="">${resumes[1].content}</td>
					<td id="">${resumes[1].post}</td>
				</tr>
				<tr>
					<td id="">${resumes[2].fromWhen}</td>
					<td id="">${resumes[2].tillWhen}</td>
					<td id="">${resumes[2].content}</td>
					<td id="">${resumes[2].post}</td>
				</tr>
			</table>
			<table>
				<thead>
					<tr>
						<th colspan="4" class="head">主要家庭成员</th>
					</tr>
				</thead>
				<tr>
					<th style="width:15%">与本人关系</th>
					<th style="width:15%">姓名</th>
					<th style="width:15%">政治面貌</th>
					<th style="width:55%">现在何单位工作、任何职位</th>
				</tr>
				<tr>
					<td id="">${families[0].ship }</td>
					<td id="">${families[0].name }</td>
					<td id="">${families[0].politics }</td>
					<td id="">${families[0].info }</td>
				</tr>
				<tr>
					<td id="">${families[1].ship }</td>
					<td id="">${families[1].name }</td>
					<td id="">${families[1].politics }</td>
					<td id="">${families[1].info }</td>
				</tr>
				<tr>
					<td id="">${families[2].ship }</td>
					<td id="">${families[2].name }</td>
					<td id="">${families[2].politics }</td>
					<td id="">${families[2].info }</td>
				</tr>
			</table>
		</div>
		<div style="height:10px;width:1px;"></div>
	</center>
  </body>
</html>
